import { ApiProperty, PartialType } from '@nestjs/swagger';
import { CreateMenuDto } from './create-menu.dto';

export class UpdateMenuDto extends PartialType(CreateMenuDto) {
  @ApiProperty({ description: '菜单名称', default: '首页' })
  name?: string;
  @ApiProperty({ description: '上级菜单id', default: '123456' })
  parent_id?: string;
  @ApiProperty({ description: '菜单图标', default: 'arrowLeft' })
  icon?: string;
}
